#ifndef TEST_CTRL_H
#define TEST_CTRL_H

#include <drogon/HttpSimpleController.h>

using namespace drogon;

class TestCtrl : public drogon::HttpSimpleController<TestCtrl> {
public:
	void
	asyncHandleHttpRequest(const HttpRequestPtr &req, std::function<void(const HttpResponsePtr &)> &&callback) override;

	PATH_LIST_BEGIN
	PATH_ADD("/test", Get, Post, "TimeFilter");
	PATH_LIST_END
};

#endif // TEST_CTRL_H